<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <#include "../common.ftl" >
</head>
<body>
<form class="layui-form" style="width: 80%">
    <input type="hidden" name="supplierId" value="${(supplier.id)!}">
    <div class="layui-form-item layui-row">
        <div class="layui-col-xs12">
            <label class="layui-form-label">供应商名称</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input"
                       lay-verify="required" value="${(supplier.supplierName)!}"
                       placeholder="请输入物料名称">
            </div>
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">物料</label>
        <div class="layui-input-block">
            <select name="materialId" id="materialId" lay-verify="required">
                <option value="">请选择物料</option>
            </select>
        </div>
    </div>
    <br/>
    <div class="layui-form-item layui-row layui-col-xs12">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-lg" lay-submit=""
                    lay-filter="addMaterialBySupplier">确认
            </button>
            <button class="layui-btn layui-btn-lg layui-btn-normal" id="closeBtn">取消</button>
        </div>
    </div>
</form>
<script type="text/javascript" src="${ctx}/layuimini/js/supplier/addMaterialBySupplier.js"></script>

</body>

</html>

